package com.xplay.xpocker.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author xplay
 * @since 2023-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GameRuMahjongOpenDeal implements Serializable {

    @TableId
    private BigDecimal id;
    @TableField(value = "source_user_seq", updateStrategy = FieldStrategy.IGNORED)
    private Integer sourceUserSeq;
    @TableField(value = "source_user_id", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal sourceUserId;
    @TableField(value = "target_user_id", updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal targetUserId;
    @TableField(value = "target_user_seq", updateStrategy = FieldStrategy.IGNORED)
    private Integer targetUserSeq;


    private Integer card;
    /**
     * @type 1 碰牌,2 暗杠, 3 明杠 , 4 点杠
     */
    private Integer type;

    @TableField("room_id")
    private BigDecimal roomId;


}
